package samsung.sds.survey.surveyStatistics.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author long1.huang
 * @createDate 2016-01-18 
 * 
 * 问题对应选项的实体
 */
public class QuestionOptionEntity {
	
	private String questionId;          //问题id号
	private String optionValue;				//选项
	private boolean checkValue;				//检查是否被选中
    private String optionName;				//选项对应的值	
    private Date createTime;				//创建时间
	public String width;					//根据投票数量要显示的宽度
	private int count;						//投票数量
	private String answer;					//用户选的答案
	private String rule;					//数字类型问题需分割的数字范围
	private int answerPercent;				//数字类型区间范围百分比
	private String percent;					//普通类型和YN百分比
    private String createUser;				//创建人
    private Date lastModifyTime;			//最后修改时间
    private String lastModifyUser;			//最后修改人
    
    
	public String getQuestionId() {
		return questionId;
	}
	public void setQuestionId(String questionId) {
		this.questionId = questionId;
	}
	public String getOptionValue() {
		return optionValue;
	}
	public void setOptionValue(String optionValue) {
		this.optionValue = optionValue;
	}
	public boolean isCheckValue() {
		return checkValue;
	}
	public void setCheckValue(boolean checkValue) {
		this.checkValue = checkValue;
	}
	public String getOptionName() {
		return optionName;
	}
	public void setOptionName(String optionName) {
		this.optionName = optionName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getWidth() {
		return width;
	}
	public void setWidth(String width) {
		this.width = width;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public String getRule() {
		return rule;
	}
	public void setRule(String rule) {
		this.rule = rule;
	}
	public int getAnswerPercent() {
		return answerPercent;
	}
	public void setAnswerPercent(int answerPercent) {
		this.answerPercent = answerPercent;
	}
	public String getPercent() {
		return percent;
	}
	public void setPercent(String percent) {
		this.percent = percent;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public String getLastModifyUser() {
		return lastModifyUser;
	}
	public void setLastModifyUser(String lastModifyUser) {
		this.lastModifyUser = lastModifyUser;
	}
    
    
}
